package cn.snowsoft.iot.module.warning.controller.admin.warning.record.vo;

import cn.snowsoft.iot.framework.common.pojo.PageParam;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class WarningRecordPageVO extends PageParam {


    @TableId("id")
    private Long id;


    private Long configId;


    private String pointValue;


    private String configName;

    private String warningData;

    private Long equipmentId;


    private String equipmentName;

    private Long pointId;


    private String pointName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime warningTime;


    private Integer status;

    private String handleUser;

    private LocalDateTime handleTime;

    private String remark;

    private String warningType;

    private String createTimes;
}
